package com.dj.mingkong.common.exception;

/**
 * @author zenglonghui
 * @date: 2022/5/17 18:06
 */
public class ValidateException extends BaseRuntimeException {
    public ValidateException() {
        this("400", "The API request is invalid");
    }

    public ValidateException(String message) {
        this("400", message);
    }

    public ValidateException(String code, String message) {
        super(code, message);
    }

    public ValidateException(String code, Throwable throwable) {
        super(code, throwable);
    }
}
